package javabase.schoolwork.day5_29;

/**
 * @author fance
 * @date 2018/5/30 11:21
 */
public class Client {
    public static void main(String[] args) {
        Runner runner = new Bird();
        runner.run();
        runner.start();
        runner.stop();

        Work teacherWork = new TeacherWorkFactory().getWork();
        teacherWork.doWork();
        Work studentWork = new StudentWorkFactory().getWork();
        studentWork.doWork();
    }
}
